Skip to content

(fix) multiply item weight_grams by quantity in bag total weight calc…#898

Open
gzor wants to merge 1 commit intomauriceboe:devfrom
gzor:fix/take-quantity-into-consideration-weight-calc-2
Open

(fix) multiply item weight_grams by quantity in bag total weight calc…#898
gzor wants to merge 1 commit intomauriceboe:devfrom
gzor:fix/take-quantity-into-consideration-weight-calc-2

Conversation

@gzor
Copy link
Copy Markdown

@gzor gzor commented Apr 26, 2026

Description

Currently the quantity does not effect the total bag weight.
The data is already there, I would just need to change the calculation of the weight of the bag in the frontend.

Use case: User Marco adds lunches with a weight estimation per lunch, and can adjust the quantity for different trekking trips depending on how long the trek goes.

Related Issue or Discussion

discord link:
https://discord.com/channels/1488298068427411591/1496176614801670244

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • I have read the Contributing Guidelines
  • My branch is up to date with dev
  • This PR targets the dev branch, not main
  • I have tested my changes locally
  • I have added/updated tests that prove my fix is effective or that my feature works
  • I have updated documentation if needed

I tested it locally (manual).

I tried to run the test, but they are failing on my machine... i am not sure if i did something wrong or if the tests in general are not up to date. It did not give me the impressions, that the failing tests are associated with my very small change though, therfore i think this is a problem with my local dev env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant